b3361e1bf4e777fb5ccbddcd5f9dc98c3c48ebe6
[project/luci.git] /
1 /* Licensed to the public under the Apache License 2.0. */
2
3 'use strict';
4 'require baseclass';
5
6 return baseclass.extend({
7 title: _('Sensors'),
8
9 rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
10 return {
11 per_instance: true,
12 title: "%H: %pi - %di",
13 vlabel: "\xb0C",
14 number_format: "%4.1lf\xb0C",
15 data: {
16 types: [ "temperature" ],
17 options: {
18 temperature__value: {
19 color: "ff0000",
20 title: "Temperature"
21 }
22 }
23 }
24 };
25 }
26 });